import './App.css';
import BasicRoute from "./components/router/router";
import {Provider} from "react-redux";
import store from './store/index';


function App() {

  // const [pk,setPk] = useState(405);  

  return (
    <div className="App">
      {/* 使用Provider包裹，这样所有组件都可以使用react-redux */}
      <Provider store={store}>
        <BasicRoute></BasicRoute>
      </Provider>
    </div>
  );
}

export default App;
